import request from '@/utils/request'

export function getPdf(query) {
  return request({
    url: '/web-api/api/form/getPdfPath',
    method: 'get',
    params: query
  })
}

export function getPrinter() {
  return request({
    url: '/web-api/api/form/getPrinter',
    method: 'get'
  })
}

export function printPdf(data) {
  return request({
    url: '/web-api/api/form/printPdf',
    method: 'post',
    data
  })
}
